﻿<div class="weui-panel weui-panel_access" ng-if='$ctrl.uids.length'>
  <div class="weui-panel__hd" ng-if='$ctrl.title'>{{$ctrl.title}}</div>
  <div class="weui-panel__bd">
    <a href class="weui-media-box weui-media-box_appmsg"
    ng-repeat='ua in $ctrl.uids track by $index'
    ng-click='clickItem(ua, $index)'>
      <div class="weui-media-box__hd"  
      appb-weui-badge='{show:$ctrl.usersInfo[ua.uid].wxinfo.subscribe!="0",text:""}'
        >
        <img class="weui-media-box__thumb" 
        ng-src="{{$ctrl.usersInfo[ua.uid].wxinfo.headimgurl}}" alt="" >
      </div>
      <div class="weui-media-box__bd">
        <h4 class="weui-media-box__title"
         
        >{{$index+1}}. 
          <span ng-if='$ctrl.usersInfo[ua.uid].wxinfo'>
            {{$ctrl.usersInfo[ua.uid].wxinfo.nickname}}
          </span>
          <span ng-if='! $ctrl.usersInfo[ua.uid].wxinfo'
          >
            {{$ctrl.usersInfo[ua.uid].uname}}
          </span>
          

        </h4>
        <p class="weui-media-box__desc">id={{ua.uid}} 
        
        {{$ctrl.texts[$index]}}</p>
      </div>
    </a>
  </div>

</div>
